package com.woniu.auth.feign;



import com.woniu.user.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("user-service")
public interface UserFeign {

    @RequestMapping("/feign/getUser")
    User getUser(@RequestParam("userName")String userName, @RequestParam("userPassword")String userPassword);
    @RequestMapping("/feign/getUser2")
    User getUser2(@RequestParam("userName")String userName,@RequestParam("userPassword")String userPassword);
}
